//go:build wireinject
// +build wireinject

package srv

import (
	"github.com/google/wire"
	"jmicro/app/pkg/options"
	"jmicro/app/user/srv/internal/controller/user"
	"jmicro/app/user/srv/internal/data/v1/db"
	"jmicro/app/user/srv/internal/dataSearch/v1/es"
	v1 "jmicro/app/user/srv/internal/service/v1"
	gapp "jmicro/jmicro/app"
	"jmicro/pkg/log"
)

func initApp(*options.EsOptions, *options.MySQLOptions, *options.ServerOptions, *options.TelemetryOptions, *options.NacosConfig, *options.RegistryOptions, *log.Options) (*gapp.App, error) {
	wire.Build(ProviderSet, user.ProviderSet, v1.ProviderSet, db.ProviderSet, es.ProviderSet)
	return &gapp.App{}, nil
}
